Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: significantly speed up conda resolution #2162

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

baszalmstra
Copy link
Contributor

This PR bumps rattler_solve which bumps resolvo which includes two important performance improvements. This should significantly reduce the number of cases where the solver takes a very long time to solve (minutes plus).

This benchmark image taken from resolvo shows that the number of cases that take more than 60 seconds is significantly decreased.

Resolvo benchmarks

@ruben-arts
Copy link
Contributor

Insane improvement. Testing the example from #2134

[project]
name = "slow"
channels = ["https://fast.prefix.dev/conda-forge"]
platforms = ["linux-64"]

[dependencies]
cmake = "*"
compilers = "*"
gcc = "==11.4"
pyspark = "*"

These are the results 😱
image

Also for pixi itself as a project its 2x faster! which is huge!
image

Thank you @baszalmstra for deepdiving and figuring it out!

@ruben-arts ruben-arts merged commit c0c13a7 into prefix-dev:main Oct 1, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants